package com.netty;


/**
 * 服务器地址信息
 * @author zhoufang
 *
 * 2017年12月27日上午9:00:57
 */
public class ServerAddress {
	
	/** 服务器Id */
	private int serverId;
	/** 服务器地址 */
	private String serverIp;
	/** 端口*/
	private int serverPort;
	
	public ServerAddress(){}
	
	public ServerAddress(int serverId, String serverIp,int port){
		this.serverId = serverId;
		this.serverIp = serverIp;
		this.serverPort = port;
	}
	
	public int getServerId() {
		return serverId;
	}
	
	public String getServerIp() {
		return serverIp;
	}
	
	public int getServerPort() {
		return serverPort;
	}
}
